﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using DevM.Development.Projects.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace DevM.Development.ReleaseRecords.Dto
{
    [AutoMapFrom(typeof(ReleaseRecord))]
    public class ReleaseRecordDto: AuditedEntityDto<long>
    {
        public bool HasReleased { get; set; } = false;
        public long CurrentEnvironmentId { get; set; }
        public EnvironmentDto CurrentEnvironment { get; set; }
        public long ProjectId { get; set; }
        public string Memo { get; set; }

        public int ConfigsCount { get; set; }
        public int DatasCount { get; set; }
        public int DatabasesCount { get; set; }
    }
}
